import {
	getTransportUserInfo,//获取司机端用户信息
	getTransportTaskList,//获取司机端任务列表
	getTransportOrderInfo,//获取司机端订单详情
	getTransportCarList,//获取中转车列表
	updateState,//司机端更新状态
	canelOrder,//取消订单
	getTransportInfo,//获取司机端信息
} from '@/api/transporApi'
import {
	getStore,
	setStore
} from '@/util/service'
const transport = {
	namespaced: true,
	state: {},
	getters: {},
	mutations: {},
	actions: {
		// 获取司机端信息
		GetTransportInfo({
			state,
			commit,
			dispatch
		}, params) {
			return new Promise((resolve, reject) => {
				getTransportInfo(params).then(res => {
					resolve(res)
				})
			})
		},
	}
}
export default transport
